<!doctype html>
<html class="x-admin-sm">

<head>
  <meta charset="UTF-8">
  <title>眉山进销存管理系统</title>
  <meta name="renderer" content="webkit|ie-comp|ie-stand">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <link rel="stylesheet" href="../css/font.css">
  <link rel="stylesheet" href="../css/xadmin.css">
  <!-- <link rel="stylesheet" href="./css/theme5.css"> -->
  <script src="../lib/layui/layui.js" charset="utf-8"></script>

  <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
  <script src="../js/index.js" type="text/javascript" charset="utf-8"></script>
  <script src="https://cdn.bootcss.com/vue/2.6.10/vue.js"></script>
  <script src="../js/app.js" type="text/javascript" charset="utf-8"></script>
  <!-- <script src="https://cdn.bootcss.com/vue/2.6.10/vue.js"></script> -->
  <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->

  <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
  <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>

  <script>
    // 是否开启刷新记忆tab功能
    // var is_remember = false;
  </script>
</head>

<body class="index">
  <!-- 顶部开始 -->
  <div class="container">
    <div class="logo">
      <a href="./index.html">眉山进销存管理系统</a></div>
    <div class="left_open">
      <a><i title="展开左侧栏" class="iconfont">&#xe699;</i></a>
    </div>

    <ul class="layui-nav right" lay-filter="">
      <li class="layui-nav-item">
        <a href="javascript:;" onclick="LogOut()"><i class="layui-icon layui-icon-username"
            style="font-size: 15px">退出</i></a>
      </li>

    </ul>
  </div>
  <!-- 顶部结束 -->

  <!-- 中部开始 -->
  <!-- 左侧菜单开始 -->
  <div class="left-nav" id="router">
    <div id="side-nav">
      <ul id="nav">
        <li v-if="organizational_structure">
          <!-- 组织架构 -->
          <a href="javascript:;">
            <i class="iconfont left-nav-li" lay-tips="组织架构">&#xe6b8;</i>
            <cite>组织架构</cite>
            <i class="iconfont nav_right">&#xe697;</i></a>
          <ul class="sub-menu">
            <li v-if="organizational_structure">
              <a onclick="xadmin.add_tab('人员组织架构','UserOrganization/user-organization.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>人员组织架构</cite></a>
            </li>
          </ul>
        </li>
        <li v-if="!Manager">  <!-- 超级管理员不显示 -->
          <!-- 自动盘点-->
          <a href="javascript:;">
            <i class="iconfont left-nav-li" lay-tips="自动盘点">&#xe6b8;</i>
            <cite>自动盘点</cite>
            <i class="iconfont nav_right">&#xe697;</i></a>
          <ul class="sub-menu">
            <li>
              <a onclick="xadmin.add_tab('月份盘点','Inventory/Inventory.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>月份盘点</cite></a>
            </li>
            <li v-if="Inventory_city">
              <!-- 库存余量盘点页面 市级能看见-->
              <a onclick="xadmin.add_tab('库存余量','Inventory/InventoryCapcity.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>库存余量</cite></a>
            </li>
          </ul>
        </li>
        <li v-if="people">
          <!-- 人员管理 -->
          <a href="javascript:;">
            <i class="iconfont left-nav-li" lay-tips="人员管理">&#xe6b8;</i>
            <cite>人员管理</cite>
            <i class="iconfont nav_right">&#xe697;</i></a>
          <ul class="sub-menu">
            <li v-if="user_operate">
              <a onclick="xadmin.add_tab('人员管理','UserManage/user.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>人员管理</cite></a>
            </li>
            <li v-if="user_operate">
              <a onclick="xadmin.add_tab('离职人员','UserManage/user-delete.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>离职人员</cite></a>
            </li>

            <li v-if="user_operate">
              <a onclick="xadmin.add_tab('人员导表','UserManage/userCreateByExcel.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>人员导表</cite></a>
            </li>
            <li v-if="manager_operate">
              <a onclick="xadmin.add_tab('管理员操作','ManagerManage/manager.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>管理员操作</cite></a>
            </li>
          </ul>
        </li>
        <li v-if="is_manager">
          <!-- 查看页面(管理员不显示) -->
          <a href="javascript:;">
            <i class="iconfont left-nav-li" lay-tips="查看页面">&#x1006;</i>
            <cite>查看页面</cite>
            <i class="iconfont nav_right">&#xe697;</i></a>
          <ul class="sub-menu">
            <li>
              <a onclick="xadmin.add_tab('查看设备/终端库存','Check/check.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>查看设备/终端库存</cite></a>
            </li>
            <li>
              <a onclick="xadmin.add_tab('查看物料库存','Check/checkofstuff.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>查看物料库存</cite></a>
            </li>
            <li>
              <a onclick="xadmin.add_tab('查询出入库记录','InStorageManage/InOutQuery.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>查询出入库记录</cite></a>
            </li>
          </ul>
        </li>
        <li v-if="material_in_out">
          <!-- 设备管理 -->
          <a href="javascript:;">
            <i class="iconfont left-nav-li" lay-tips="设备管理">&#xe723;</i>
            <cite>设备管理</cite>
            <i class="iconfont nav_right">&#xe697;</i></a>
          <ul class="sub-menu">
            <li v-if="material_inStorage">
              <a onclick="xadmin.add_tab('设备扫描入库','InStorageManage/InSrorageByScanOfEquitpment.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>设备扫描入库</cite></a>
            </li>
            <li v-if="material_inStorage">
              <a onclick="xadmin.add_tab('设备导表入库','InStorageManage/InSrorageByExcelOfEquitpment.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>设备导表入库</cite></a>
            </li>
            <li v-if="material_outStorage">
              <a onclick="xadmin.add_tab('设备出库','OutStorageManage/OutStorageOfEquipment.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>设备出库</cite></a>
            </li>
            <li v-if="material_outStorage">
              <a onclick="xadmin.add_tab('设备扫描出库','OutStorageManage/OutStorageByScanOfEquipment.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>设备扫描出库</cite></a>
            </li>
          </ul>
        </li>
        <li v-if="material_in_out">
          <!-- 终端管理 -->
          <a href="javascript:;">
            <i class="iconfont left-nav-li" lay-tips="终端管理">&#xe723;</i>
            <cite>终端管理</cite>
            <i class="iconfont nav_right">&#xe697;</i></a>
          <ul class="sub-menu">
            <li v-if="material_inStorage">
              <a onclick="xadmin.add_tab('终端扫描入库','InStorageManage/InSrorageByScanOfTerminal.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>终端扫描入库</cite></a>
            </li>
            <li v-if="material_inStorage">
              <a onclick="xadmin.add_tab('终端导表入库','InStorageManage/InStorageByExcelOfTerminal.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>终端导表入库</cite></a>
            </li>
            <li v-if="material_outStorage">
              <a onclick="xadmin.add_tab('终端出库','OutStorageManage/OutStorageOfTerminal.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>终端出库</cite></a>
            </li>
            <li v-if="material_outStorage">
              <a onclick="xadmin.add_tab('终端扫描出库','OutStorageManage/OutStorageByScanOfTerminal.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>终端扫描出库</cite></a>
            </li>
          </ul>
        </li>
        <li v-if="material_in_out">
          <!-- 物料管理 -->
          <a href="javascript:;">
            <i class="iconfont left-nav-li" lay-tips="物料出库">&#xe723;</i>
            <cite>物料管理</cite>
            <i class="iconfont nav_right">&#xe697;</i></a>
          <ul class="sub-menu">
            <li v-if="material_inStorage">
              <a onclick="xadmin.add_tab('物料入库','InStorageManage/InStorageOfStuff.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>物料入库</cite></a>
            </li>
            <li v-if="material_inStorage">
              <a onclick="xadmin.add_tab('物料导表入库','InStorageManage/InStorageOfStuffByExcel.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>物料导表入库</cite></a>
              </a>
            </li>
            <li v-if="material_outStorage">
              <a onclick="xadmin.add_tab('物料出库','OutStorageManage/OutStorageOfStuff.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>物料出库</cite></a>
            </li>
          </ul>
        </li>
        <li v-if="material_allot">
          <!-- 调拨管理 -->
          <a href="javascript:;">
            <i class="iconfont left-nav-li" lay-tips="调拨管理">&#xe723;</i>
            <cite>调拨管理</cite>
            <i class="iconfont nav_right">&#xe697;</i></a>
          <ul class="sub-menu">
            <li>
              <a onclick="xadmin.add_tab('设备/终端调拨','AllotManage/Allot.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>设备/终端调拨</cite></a>
            </li>
            <li>
              <a onclick="xadmin.add_tab('物料调拨','AllotManage/AllotOfStuff.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>物料调拨</cite></a>
            </li>
          </ul>
        </li>
        <li v-if="goods_destroy">
          <!-- 物品销库 -->
          <a href="javascript:;">
            <i class="iconfont left-nav-li " lay-tips="物品销库">&#x1006;</i>
            <cite>物品销库</cite>
            <i class="iconfont nav_right">&#xe697;</i></a>
          <ul class="sub-menu">
            <li v-if="false">
              <a onclick="xadmin.add_tab('设备/终端销库','DestroyStorage/DestroyStorage.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>设备/终端销库</cite></a>
            </li>
            <li>
              <a onclick="xadmin.add_tab('物料销库','DestroyStorage/DestroyStorageOfStuff.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>物料销库</cite></a>
            </li>
            <li v-if="view_lower_request">
              <a onclick="xadmin.add_tab('导表对比销库','DestroyStorage/Comparison_Destory.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>导表对比销库</cite></a>
            </li>
            <li v-if="false">
              <!-- 暂时不使用 -->
              <a onclick="xadmin.add_tab('查看物料销库请求','DestroyStorage/DestroyStorage_Info.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>查看我的销库请求</cite></a>
            </li>
            <li v-if="false">
              <!-- 暂时不使用 -->
              <a onclick="xadmin.add_tab('查看物料销库请求','DestroyStorage/DestroyStorage_Info_manager.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>查看下级销库请求</cite></a>
            </li>
          </ul>
        </li>
        <li v-if="permission_operate">
          <!-- 权限管理 -->
          <a href="javascript:;">
            <i class="iconfont left-nav-li" lay-tips="管理员管理">&#xe726;</i>
            <cite>权限管理</cite>
            <i class="iconfont nav_right">&#xe697;</i></a>
          <ul class="sub-menu">
            <li>
              <a onclick="xadmin.add_tab('权限管理','AuthorityManage/author-list.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>权限管理</cite></a>
            </li>
          </ul>
        </li>
        <li v-if="role_operate">
          <!-- 角色管理 -->
          <a href="javascript:;">
            <i class="iconfont left-nav-li" lay-tips="其它页面">&#xe726;</i>
            <cite>角色管理</cite>
            <i class="iconfont nav_right">&#xe697;</i></a>
          <ul class="sub-menu">
            <li>
              <a onclick="xadmin.add_tab('角色管理','RoleManage/role-manage.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>角色管理</cite></a>
            </li>

          </ul>
        </li>
        <li v-if="material_operate">
          <!-- 种类管理 -->
          <a href="javascript:;">
            <i class="iconfont left-nav-li" lay-tips="图标字体">&#xe6b4;</i>
            <cite>种类管理</cite>
            <i class="iconfont nav_right">&#xe697;</i></a>
          <ul class="sub-menu">
            <li>
              <a onclick="xadmin.add_tab('种类管理','CategoryManage/cate.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>种类管理</cite></a>
            </li>
          </ul>
        </li>
        <li v-if="is_manager">
          <!-- 反馈系统(管理员不显示) -->
          <a href="javascript:;">
            <i class="iconfont left-nav-li" lay-tips="其它页面">&#xe6b4;</i>
            <cite>反馈系统</cite>
            <i class="iconfont nav_right">&#xe697;</i></a>
          <ul class="sub-menu">
            <li v-if="feedback">
              <a onclick="xadmin.add_tab('处理报修','FeedBack/repair-list.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>处理报修</cite></a>
            </li>
            <li v-if="!view_lower_request">
              <!-- 市级员工外的员工使用该页面 -->
              <a onclick="xadmin.add_tab('新增报修','FeedBack/repair-list-user.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>新增报修</cite></a>
            </li>
            <li v-if="feedback">
              <a onclick="xadmin.add_tab('编辑公告','FeedBack/notice-list.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>编辑公告</cite></a>
            </li>
            <li>
              <a onclick="xadmin.add_tab('查看公告','FeedBack/notice-list-user.html')">
                <i class="iconfont">&#xe6a7;</i>
                <cite>查看公告</cite></a>
            </li>
          </ul>
        </li>
      </ul>
    </div>
  </div>
  <!-- <div class="x-slide_left"></div> -->
  <!-- 左侧菜单结束 -->
  <!-- 右侧主体开始 -->
  <div class="page-content">
    <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
      <ul class="layui-tab-title">
        <li class="home">
          <i class="layui-icon">&#xe68e;</i>我的桌面
        </li>
      </ul>
      <div class="layui-unselect layui-form-select layui-form-selected" id="tab_right">
        <dl>
          <dd data-type="this">关闭当前</dd>
          <dd data-type="other">关闭其它</dd>
          <dd data-type="all">关闭全部</dd>
        </dl>
      </div>
      <div class="layui-tab-content">
        <div class="layui-tab-item layui-show">
          <iframe src='./welcome.html' frameborder="0" scrolling="yes" class="x-iframe"></iframe>
        </div>
      </div>
      <div id="tab_show"></div>
    </div>
  </div>
  <div class="page-content-bg"></div>
  <style id="theme_style"></style>
  <!-- 右侧主体结束 -->
  <!-- 中部结束 -->
  <script type="text/javascript">
    // console.log(permission_data)
    var App = new Vue({
      el: '#router',
      data: app.getPermissionData(),
      created: function () {},
      methods: {
        getAuthorities: function () {
          var Info = app.getUserGlobalInfo()
          console.log(Info)
        }
      }
    })
  </script>

  <script>
    //百度统计可去掉
    var _hmt = _hmt || [];
    (function () {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>
  <!-- 放在最后引入，解决导航栏失效的问题 -->
  <script type="text/javascript" src="../js/xadmin.js"></script>
</body>

</html>